#ifndef KISE_VIDEO_DETECT
#define KISE_VIDEO_DETECT

struct Kise_Rect{
	int x;
	int y;
	int width;
	int height;
};

struct FaceBuff
{
	int* background16;
	unsigned char* background8;
	int* inter;
	int* squreinter;
	unsigned char *motionbuf;
	int* motioninter;
	unsigned char* motionmask;
};

FaceBuff* createfacedetect( int width, int height );
int videofacedetect( unsigned char* grayimage, int width, int height, int widthstep, Kise_Rect face[ 50 ], int MinSize, int MaxSize, float scale, FaceBuff *pf );
void releasefacedetect( FaceBuff *pf );

#endif